package com.lebang.model;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class MyConfig {
 
    private static Integer appId;
 
    public static Integer getEnv() {
        return appId;
    }

    @Value("${info.appId}")
    public void setEnv(Integer env) {
        appId = env;
    }
}